package User;

import Book.BookList;
import BookOperation.IOperation;

public abstract class Control {
    protected  String name;
    protected IOperation[] iOperations;
    public Control(String  name) {
        this.name = name;
    }
    public abstract int menu();
    public  void work(int pos, BookList bookList) {
        iOperations[pos].work(bookList);
    }
}


